package model

import "gorm.io/gorm"

type Car struct {
	gorm.Model
	Name  string `gorm:"type:varchar(50)"`
	Price int    `gorm:"type:int"`
	Typ   string `gorm:"type:varchar(50)"`
}
type Order struct {
	gorm.Model
	Cid      int    `gorm:"type:int"`
	Money    int    `gorm:"type:int"`
	Customer string `gorm:"type:varchar(50)"`
}
type CarOrder struct {
	Oid      int
	Money    int
	Customer string
	Name     string
	Price    int
	Typ      string
}
